﻿@using ZhouYu.DreamTour.Model;
@using ZhouYu.DreamTour.Web.Models;
@{
    Layout = null;
    var GroupInfo = ViewBag.GroupInfo;
    var GroupPicture = ViewBag.GroupPicture as List<TourPicture>;
    Random random = new Random();
    int buynumber = 0;
    var UserInfo = UserInfoContext.userInfoContext.UserInfo;
}
@foreach (var Info in GroupInfo)
{
    buynumber = random.Next(1, 250);
    foreach (var Picture in GroupPicture)
    {
        if (Info.TourId == Picture.TourId && Picture.Is_Master == 1)
        {
            <div class="ftg3_m1">
                <div class="ftg3_m1pic"><A href="/Home/Group_Datails?TourId=@Info.TourId"><img src="@Picture.Pic_Url" border="0"></A></div>
                <div class="ftg3_m1text1">
                    <A href="/Home/Group_Datails?TourId=@Info.TourId">
                        @Info.Title
                    </A>
                </div>
                <div class="ftg3_m1text2">
                    <span class="ftgspan1">￥@Info.DiscountPrice</span>
                    <span class="ftgspan2">
                        @*<img src="~/images/ftgicon2.png">*@￥@Info.Price
                    </span>
                    <span class="ftgspan3"><a href="#">@buynumber</a>人已购买</span>
                </div>
            </div>
        }
    }
}
